cmake_minimum_required(VERSION 3.22)

project(hello_sdl2)

find_package(SDL2 REQUIRED)
include_directories(${SDL2_INCLUDE_DIRS})

set(CMAKE_CXX_STANDARD 14)
set(SOURCES
        main.cpp
    )

add_executable(${PROJECT_NAME} ${SOURCES})

target_link_libraries(hello_sdl2 ${SDL2_LIBRARIES})
